package com.gaohe.scp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gaohe.common.annotation.Excel;
import com.gaohe.common.core.domain.BaseEntity;

/**
 * 车辆浏览对象 cs_car_visit
 * 
 * @author liuxiangyu
 * @date 2025-03-25
 */
public class CsCarVisit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 浏览ID */
    private Long visitId;

    /** 车辆id */
    @Excel(name = "车辆id")
    private Long carId;

    /** 车辆名称 */
    @Excel(name = "车辆名称")
    private String carName;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long view;

    /** 收藏量 */
    @Excel(name = "收藏量")
    private Long collect;

    /** 是否删除 */
    private String delFlag;

    public void setVisitId(Long visitId) 
    {
        this.visitId = visitId;
    }

    public Long getVisitId() 
    {
        return visitId;
    }

    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }

    public void setCarName(String carName) 
    {
        this.carName = carName;
    }

    public String getCarName() 
    {
        return carName;
    }

    public void setView(Long view) 
    {
        this.view = view;
    }

    public Long getView() 
    {
        return view;
    }

    public void setCollect(Long collect) 
    {
        this.collect = collect;
    }

    public Long getCollect() 
    {
        return collect;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("visitId", getVisitId())
            .append("carId", getCarId())
            .append("carName", getCarName())
            .append("view", getView())
            .append("collect", getCollect())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
